package com.scjp_Java6.AccesingStaticMethodsAndVariables;

public class Frog {
	int frogSize=0;
	
	public int getFrogSize() {
		return frogSize;
	}
	public Frog(int s){
		frogSize=s;
	}
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Frog f=new Frog(25);
		System.out.println(f.getFrogSize());//Accessing instance method using f
	}

}
